package com.qingmeng.outsourcing.portal.model.dto;

import com.qingmeng.outsourcing.model.ProjectFiles;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.List;

//dto包使前端给我们传递的参数 建立的包    ......   vo包 是我们给前端传递参数时所需要建立的包

public class ProjectPublishParam {
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    @ApiModelProperty(value = "项目名称")
    private String projectName;
    @ApiModelProperty(value = "项目周期")
    private String projectDuration;
    @ApiModelProperty(value = "项目预算")
    private BigDecimal projectBudget;
    @ApiModelProperty(value = "项目介绍")
    private String projectIntroduction;
    @ApiModelProperty(value = "工作方式(0为全职，1为兼职，2为全职兼职节课)")
    private Integer workType;
    @ApiModelProperty(value = "工作内容")
    private String workExplain;
    @ApiModelProperty(value = "项目类型ID列表")
    private List<Long> projectTypeIdList; //此处使用Long类型是因为只需要返回project_type_id即可，不需要把projectType对象返回
    @ApiModelProperty(value = "工程师类型ID列表")
    private List<Long> engineerTypeIdList;
    @ApiModelProperty(value = "项目文件列表")
    private List<ProjectFiles> filesList;


    public List<Long> getProjectTypeIdList() {
        return projectTypeIdList;
    }

    public void setProjectTypeIdList(List<Long> projectTypeIdList) {
        this.projectTypeIdList = projectTypeIdList;
    }

    public List<Long> getEngineerTypeIdList() {
        return engineerTypeIdList;
    }

    public void setEngineerTypeIdList(List<Long> engineerTypeIdList) {
        this.engineerTypeIdList = engineerTypeIdList;
    }

    public List<ProjectFiles> getFilesList() {
        return filesList;
    }

    public void setFilesList(List<ProjectFiles> filesList) {
        this.filesList = filesList;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProjectDuration() {
        return projectDuration;
    }

    public void setProjectDuration(String projectDuration) {
        this.projectDuration = projectDuration;
    }

    public BigDecimal getProjectBudget() {
        return projectBudget;
    }

    public void setProjectBudget(BigDecimal projectBudget) {
        this.projectBudget = projectBudget;
    }

    public String getProjectIntroduction() {
        return projectIntroduction;
    }

    public void setProjectIntroduction(String projectIntroduction) {
        this.projectIntroduction = projectIntroduction;
    }

    public Integer getWorkType() {
        return workType;
    }

    public void setWorkType(Integer workType) {
        this.workType = workType;
    }

    public String getWorkExplain() {
        return workExplain;
    }

    public void setWorkExplain(String workExplain) {
        this.workExplain = workExplain;
    }

    @Override
    public String toString() {
        return "ProjectPublishParam{" +
                "projectId=" + projectId +
                ", projectName='" + projectName + '\'' +
                ", projectDuration='" + projectDuration + '\'' +
                ", projectBudget=" + projectBudget +
                ", projectIntroduction='" + projectIntroduction + '\'' +
                ", workType=" + workType +
                ", workExplain='" + workExplain + '\'' +
                ", projectTypeIdList=" + projectTypeIdList +
                ", engineerTypeIdList=" + engineerTypeIdList +
                ", filesList=" + filesList +
                '}';
    }
}
